import { Component, OnInit } from '@angular/core';
import { Router, NavigationExtras, ActivatedRoute } from '@angular/router';
@Component({
  selector: 'app-successfully',
  templateUrl: './successfully.page.html',
  styleUrls: ['./successfully.page.scss'],
})
export class SuccessfullyPage implements OnInit {

  constructor(
    private router: Router
  ) { }

  ngOnInit() {
  }

  toMyAccount(){
    this.router.navigate(['/tabs/myAccount']);
  }
}
